@import "../../style/constant.scss";

.container {
  display: flex;
  flex-direction: column;
}

.descBox {
  display: flex;
  justify-content: center;
  padding: 16px 16px 4px;
  background: #ffffff;
}

.fixWebapp {
  height: 0;
  opacity: 0;
  padding: 0;
}

.descView {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f4f4f4;
  border-radius: 12px;
}

.titleIcon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.expandTextBg {
  background: linear-gradient(90deg, rgba(244, 244, 244, 0) 0%, #f4f4f4 25%);
}

.expandText {
  font-size: 13px;
  line-height: 18px;
}

.desc {
  flex: 1;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $primaryBlack;
  line-height: 20px;
  width: 283px;
  @include line-ellipsis-x(3);
}

.whiteBg {
  background: #ffffff;
  padding-top: 20px;
  margin-top: -20px;
  border-radius: 20px 20px 0 0;
  z-index: 1;
}

.scheduleRow {
  display: flex;
  justify-content: space-between;
  padding-right: 16px;
}

.rowCenter {
  display: flex;
  align-items: center;
}

.block {
  width: 5px;
  height: 18px;
  background: $theme;
  border-radius: 2px;
  margin-right: 12px;
  margin-left: 16px;
}

.scheduleTitle {
  font-size: 18px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  color: $primaryBlack;
  line-height: 25px;
  min-width: 72px;
}

.todayDesc {
  color: $common;
  font-family: PingFang SC;
  font-weight: 400;
  font-size: 16px;
}

.scheduleIcon {
  width: 24px;
  height: 24px;
  margin-left: 16px;
}

.resetToday {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 12px;
  @include border(top bottom left right, 1px, solid, $borderColor);
}

.resetText {
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $primaryBlack;
}

.planContent {
  background: #ffffff;
  padding: 0 16px 16px;
}

.scheduleDate {
  display: -webkit-box;
  align-items: center;
  white-space: nowrap;
  height: 100%;
  margin-top: 3px;

  &::-webkit-scrollbar {
    display: none;
  }
}

.inlineBlock {
  display: inline-block;
}

.dateBlock {
  width: 53.5px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  line-height: 25px;
}

.width53 {
  width: 53px;
}

.firstDay {
  margin-left: 4px;
}

.weekTitle {
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $weak;
  line-height: 20px;
}

.threeDaysText {
  composes: weekTitle;
  color: rgb(192, 192, 192, 1);
}
//.weekToday {
//  font-size: 14px;
//  font-family: PingFangSC-Medium, PingFang SC;
//  font-weight: 500;
//  color: $primaryBlack;
//  line-height: 20px;
//}

.dayTitle {
  font-size: 14px;
  font-family: HelveticaNeue-Medium, HelveticaNeue;
  font-weight: 500;
  color: $primaryBlack;
  line-height: 17px;
}

.box {
  margin-top: 5px;
  height: 22px;
  display: flex;
  padding: 0 4px;
  align-items: center;
}

.todayBox {
  background: rgba(71, 198, 144, 0.16);
  border-radius: 4px;
}

.activeBox {
  background: $theme;
  border-radius: 4px;
}

.activeTitle {
  composes: dayTitle;
  color: #ffffff;
}

.disableDayTitle {
  composes: dayTitle;
  color: $borderColor;
}

.doneBlock {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: $theme;
  position: absolute;
  bottom: 1px;
  left: 50%;
  margin-left: -2px;
}
